<template>
  <div id="app">
    <p>这里是child</p>
    <ul>
      <li v-for="(item,index) in names" :key="index">{{ item }}></li>
    </ul>
  </div>
</template>
<script>
export default{
   data(){
    return{
      
    }
   },
   props:[ "names"]
}
</script>